using Tarantino.Core.Commons.Model;

namespace Tarantino.Samples.Core.Model
{
	public class SystemUser : PersistentObject, ISystemUser
	{
		public const string EMAIL_ADDRESS = "EmailAddress";
		public const string ENCRYPTED_PASSWORD = "EncryptedPassword";
	
		private string _firstName;
		private string _lastName;
		private string _emailAddress;
		private string _encryptedPassword;

		public string FirstName
		{
			get { return _firstName; }
			set { _firstName = value; }
		}

		public string LastName
		{
			get { return _lastName; }
			set { _lastName = value; }
		}

		public string Password
		{
			get { return EncryptedPassword; }
			set { EncryptedPassword = value; }
		}

		public string EmailAddress
		{
			get { return _emailAddress; }
			set { _emailAddress = value; }
		}

		public string EncryptedPassword
		{
			get { return _encryptedPassword; }
			set { _encryptedPassword = value; }
		}
	}
}